package com.personnel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.io.Serializable;

/**
 * (LaborContract)实体类
 *
 * @author yuepeng
 * @since 2022-03-30 15:44:51
 * @version 1.0
 */
public class LaborContract implements Serializable {
    private static final long serialVersionUID = -57991670066217877L;
    /**
    * 主键id
    */
    private Integer laborContractId;
    /**
    * 合同名称
    */
    private String contractName;
    /**
    * 关联人员id
    */
    private Integer laborContractStaffId;
    /**
    * 合同类型（新签，续签，变更，劳务，收入，支出，施工）
    */
    private String contractType;
    /**
    * 合同属性（初中高）
    */
    private String contractLevel;
    /**
    * 是否转正
    */
    private String ifRegular;
    /**
    * 合同状态（失效，有效，终止，已签订，未签订）
    */
    private String contractState;
    /**
    * 合同期限（固定期限，不定期限）
    */
    private String contractDeadline;
    /**
    * 试用月数
    */
    private Integer trialMonth;
    /**
    * 试用工资
    */
    private String trialSalary;
    /**
    * 转正工资
    */
    private String regularSalary;
    /**
    * 签约时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Timestamp signTime;
    /**
    * 生效时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Timestamp validTime;
    /**
    * 失效时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Timestamp failureTime;
    /**
    * 试用结束日期
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Timestamp trialEndTime;
    /**
    * 合同文件
    */
    private String contractFile;
    /**
    * 备注
    */
    private String contractRemark;
    /**
    * Staff
    */
    private Staff staff;

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Integer getLaborContractId() {
        return laborContractId;
    }

    public void setLaborContractId(Integer laborContractId) {
        this.laborContractId = laborContractId;
    }
        
    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }
        
    public Integer getLaborContractStaffId() {
        return laborContractStaffId;
    }

    public void setLaborContractStaffId(Integer laborContractStaffId) {
        this.laborContractStaffId = laborContractStaffId;
    }
        
    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }
        
    public String getContractLevel() {
        return contractLevel;
    }

    public void setContractLevel(String contractLevel) {
        this.contractLevel = contractLevel;
    }
        
    public String getIfRegular() {
        return ifRegular;
    }

    public void setIfRegular(String ifRegular) {
        this.ifRegular = ifRegular;
    }
        
    public String getContractState() {
        return contractState;
    }

    public void setContractState(String contractState) {
        this.contractState = contractState;
    }
        
    public String getContractDeadline() {
        return contractDeadline;
    }

    public void setContractDeadline(String contractDeadline) {
        this.contractDeadline = contractDeadline;
    }
        
    public Integer getTrialMonth() {
        return trialMonth;
    }

    public void setTrialMonth(Integer trialMonth) {
        this.trialMonth = trialMonth;
    }
        
    public String getTrialSalary() {
        return trialSalary;
    }

    public void setTrialSalary(String trialSalary) {
        this.trialSalary = trialSalary;
    }
        
    public String getRegularSalary() {
        return regularSalary;
    }

    public void setRegularSalary(String regularSalary) {
        this.regularSalary = regularSalary;
    }

    public Timestamp getSignTime() {
        return signTime;
    }

    public void setSignTime(Timestamp signTime) {
        this.signTime = signTime;
    }

    public Timestamp getValidTime() {
        return validTime;
    }

    public void setValidTime(Timestamp validTime) {
        this.validTime = validTime;
    }

    public Timestamp getFailureTime() {
        return failureTime;
    }

    public void setFailureTime(Timestamp failureTime) {
        this.failureTime = failureTime;
    }

    public Timestamp getTrialEndTime() {
        return trialEndTime;
    }

    public void setTrialEndTime(Timestamp trialEndTime) {
        this.trialEndTime = trialEndTime;
    }

    public String getContractFile() {
        return contractFile;
    }

    public void setContractFile(String contractFile) {
        this.contractFile = contractFile;
    }
        
    public String getContractRemark() {
        return contractRemark;
    }

    public void setContractRemark(String contractRemark) {
        this.contractRemark = contractRemark;
    }

}